from PyQt5 import QtWidgets,QtCore


class CurrencyShowWindow(QtWidgets.QDialog):
    def __init__(self,txt=''):
        QtWidgets.QDialog.__init__(self)
        self.setWindowFlags(self.windowFlags()|QtCore.Qt.WindowStaysOnTopHint)
        self.show_text=QtWidgets.QTextEdit()
        self.show_text.setHtml(txt)
        self.lay=QtWidgets.QHBoxLayout()
        self.lay.addWidget(self.show_text)
        self.setLayout(self.lay)
